package com.smdd.project.feign;

import com.smdd.project.entity.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "smdd-usermanagement")
public interface UserManagementClient {

    @GetMapping("/user/findById")
    R getUser(@RequestParam("userId") String userId);
}
